package com.zpark.log;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 日志类
 */
@Component
public class Log {

    @Value("欢迎学习Spring集成log4J日志")
    private String message;

    public String getMessage() {
        return "消息：" + message;
    }
}
